package movierental.service;

import java.util.List;

import movierental.entity.PenyewaanDetail;
import movierental.entity.PenyewaanHeader;
import movierental.entity.Movie;

public interface AppService {
	//Movie
	public void saveMovie(Movie movie);
	public void deleteMovie(Movie movie);
	public List<Movie> findAllMovie();
	public Movie findMovieByKode(String kode);
	public Movie findMovieByJudul(String judul);
        	
	//Transaction
	public void saveTransaction(PenyewaanHeader sewaHeader);
}	
